Q3Quaternion_Set
You can use theQ3Quaternion_Set
function to set the components of a quaternion.
TQ3Quaternion *Q3Quaternion_Set ( TQ3Quaternion *quaternion, float w, float x, float y, float z);
quaternion
- A quaternion.
w
- The desired w component of a quaternion.
x
- The desired x component of a quaternion.
y
- The desired y component of a quaternion.
z
- The desired z component of a quaternion.
DESCRIPTION
TheQ3Quaternion_Set
function returns, as its function result and in thequaternion
parameter, the quaternion whose components are specified by thew
,x
,y
, andz
parameters.